package Database;

import java.util.Date;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.users.User;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class UserEpisode {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;

	@Persistent
	private String username;

	@Persistent
	private long episodeID;

	public UserEpisode(String username, long episodeID) {
		this.setUsername(username);
		this.setEpisodeID(episodeID);

	}

	private void setId(Long id) {
		this.id = id;
	}

	private Long getId() {
		return id;
	}

	private void setUsername(String username) {
		this.username = username;
	}

	private String getUsername() {
		return username;
	}

	private void setEpisodeID(long episodeID) {
		this.episodeID = episodeID;
	}

	private long getEpisodeID() {
		return episodeID;
	}

}
